-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added XDG support #157
Added XDG support #157
Conversation
renamed readPrefsFromHome -> readUserPrefs made readUserPrefs look for $XDG_CONFIG_HOME, check if it exists and if so, readPrefs from it instead of $HOME/.haskline. If it doesen't exist, readPref from $HOME/.haskline.
Sorry for basically just +1-ing this, but what has been blocking this from getting merged? I would really appreciate this feature. |
Same here. And if there are any blockers I'd be willing to do the work to get this merged. |
Is there any update on this? |
This is one of the few remaining tools that doesn't support |
@athas, I see you volunteered to maintain this package once it was moved to the |
I would, but I am not a maintainer. I am still willing to serve in that role if some GitHub Sultan is able to grant me the role. |
I think @bgamari should have maintainer rights, since he merged the last commit into master. |
This PR should also update README. Line 21 in 073eca6
Wiki needs to be updated as well, but I don't think GitHub allows adding wiki changes as part of PR? |
@athas give it a try now? @bgamari could you please add https://hackage.haskell.org/user/TroelsHenriksen to https://hackage.haskell.org/package/haskeline/maintainers/edit ? |
Done. |
I will take a few days to familiarise myself with haskeline (and update docs etc as necessary) before making a new release. |
Thanks a lot, everyone!! |
solving issue #150
renamed readPrefsFromHome -> readUserPrefs
made readUserPrefs look for $XDG_CONFIG_HOME, check if it exists
and if so, readPrefs from it instead of $HOME/.haskeline.
If it doesen't exist, readPref from $HOME/.haskeline.